package com.flyxiaozhu.erp.core.libs;

public class ErrorCode {
    public final static int NO_DATA = 10000; //找不到数据
    public final static int INVALID_PARAM = 10001; //参数错误
    public final static int DUPLICATE_KEY = 10002; //数据重复
    public final static int MISTAKE_PASSWORD = 10003; //缺少密码
    public final static int STATUS_ERROR = 10004; //状态错误
    public final static int SMS_CODE_ERROR = 10005; //短信验证码错误
    public final static int PASSWORD_ERROR = 10006; //密码错误
    public final static int NO_ACCESS = 10007; //没有权限
    public final static int SMS_LIMIT = 10008; //短信发送频繁
    public final static int SIGN_ERROR = 10009; //签名错误
    public final static int LOW_STOCKS = 10010; //库存不足
    public final static int API_FAILED = 10011; //库存不足
    public final static int NOT_LOGIN = 10012; //尚未登录
    public final static int BAD_CREDENTIALS = 10013; //账号/密码错误
    public final static int USER_DISABLED = 10014; //账号/密码错误
    public final static int NO_STOCK = 10015; //库存不足

    public final static int FORBIDDEN = 10403; //账号/密码错误

    public final static int SYSTEM_SETTING = 99997; //系统配置错误
    public final static int SYSTEM_BUSY = 99998; //系统繁忙
    public final static int UNKNOWN = 99999; //找不到数据
}
